import req from "@/utils/req"

export const ai2Text = (text: string) => req.get('/ai/tyqw/free', {
    params: { text, type: 'text' }
});


export const ai2Img = (text: string) => req.post("/ai/image", { text })
